package event_impl

import (
	"go_server/game_server/event_manager/event_data"
	"go_server/zinx/ziface"
)

type ItemUseEvent struct {
	event_data.AbsEventData
	Items map[int32]int32
}


func NewItemUseEventEvent(conn ziface.IConnection,items map[int32]int32) *ItemUseEvent{
	event := new(ItemUseEvent)
	event.EventType = event_data.ItemUseEvent
	event.RoleConn = conn
	event.Items = items
	return event
}
